<template>
  <div>
    <div v-for="(user, index) in userList" :key="user.id">
      <el-divider v-if="index!==0"/>
      <user-block :user-info="user"></user-block>
    </div>
  </div>
</template>

<script>
import UserBlock from '@/components/UserList/components/UserBlock'

export default {
  name: 'user-list',
  components: { UserBlock },
  props: {
    userList: {
      required: true
    }
  }
}
</script>

<style scoped>

</style>
